﻿
//
// Copyright (c) 2024 BPer
//
#ifndef SRC_BPERCAPTURE_WIN_API_BPERAUDIOAPICAPTURE_H_
#define SRC_BPERCAPTURE_WIN_API_BPERAUDIOAPICAPTURE_H_
#include <bperaudiodev/BPerCaptureCallback.h>
#include <bperutil/sys/BPerThread2.h>
#include <bperutil/BPerAvInfoType.h>

class BPerAudioApiCapture:public BPerThread{
public:
	BPerAudioApiCapture(){m_isStart=0;};
	virtual ~BPerAudioApiCapture(){};
	virtual void setCaptureCallback(BPerCaptureCallback* cb)=0;
    virtual int initCapture()=0;
    virtual int startCpature()=0;
    virtual int stopCapture()=0;
    virtual void captureThread()=0;
    virtual int getAudioOutLength()=0;
    int m_isStart;
};



#endif /* SRC_BPERCAPTURE_WIN_API_BPERAUDIOAPICAPTURE_H_ */
